package com.yztc.orangeentertainment.http;

import com.yztc.orangeentertainment.bean.LabListBean.LabListBean;
import com.yztc.orangeentertainment.bean.channalbean.ChannelTuijian;
import com.yztc.orangeentertainment.bean.starconbean.CategoryBean;
import com.yztc.orangeentertainment.bean.starconbean.CategoryListBean;
import com.yztc.orangeentertainment.bean.staritembean.NewsBean;
import com.yztc.orangeentertainment.bean.staritembean.PictureBean;
import com.yztc.orangeentertainment.bean.staritembean.StarInfoBean;
import com.yztc.orangeentertainment.bean.staritembean.WishBean;
import com.yztc.orangeentertainment.bean.starlistbean.StarListBean;
import com.yztc.orangeentertainment.bean.subscribebean.SubscribeBean;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by My on 2016/10/6.
 * 订阅路径RetrofitService
 */
public interface SubscribeRetrofitService {
    @GET("article/list/{type}?")
    Call<SubscribeBean> getSubTopAll(@Path("type") String type, @QueryMap Map<String,String> map);
    @GET("star/{type}?")
    Call<StarListBean> getStarListAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("subscribe/{type}?")
    Call<LabListBean> getLabListAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("star/{type}?")
    Call<StarInfoBean> getStarItemAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("star/{type}?")
    Call<ChannelTuijian> getStarNewsAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("star/{type}?")
    Call<PictureBean> getStarPictureAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("star/{type}?")
    Call<WishBean> getStarWishAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("article/list/{type}?")
    Call<CategoryBean> getSubCategoryAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("search/list/{type}?")
    Call<StarListBean> getSubSearchAll(@Path("type") String type, @QueryMap Map<String, String> map);
    @GET("search/list/{type}?")
    Call<LabListBean> getSubLabSearchAll(@Path("type") String type, @QueryMap Map<String, String> map);
}
